package com.ysd.entity;

public class Address {
	private Integer id;
	private Integer belongToUserId;
	private String name;
	private String province;
	private String city;
	private String area;
	private String address;
	private String phone;
	private User user;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getBelongToUserId() {
		return belongToUserId;
	}
	public void setBelongToUserId(Integer belongToUserId) {
		this.belongToUserId = belongToUserId;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getProvince() {
		return province;
	}
	public void setProvince(String province) {
		this.province = province;
	}
	public String getCity() {
		return city;
	}
	public void setCity(String city) {
		this.city = city;
	}
	public String getArea() {
		return area;
	}
	public void setArea(String area) {
		this.area = area;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public User getUser() {
		return user;
	}
	public void setUser(User user) {
		this.user = user;
	}
	public Address(Integer id, Integer belongToUserId, String name, String province, String city, String area,
			String address, String phone, User user) {
		super();
		this.id = id;
		this.belongToUserId = belongToUserId;
		this.name = name;
		this.province = province;
		this.city = city;
		this.area = area;
		this.address = address;
		this.phone = phone;
		this.user = user;
	}
	public Address() {
		super();
	}
	@Override
	public String toString() {
		return "Address [id=" + id + ", belongToUserId=" + belongToUserId + ", name=" + name + ", province=" + province
				+ ", city=" + city + ", area=" + area + ", address=" + address + ", phone=" + phone + ", user=" + user
				+ "]";
	}
	
	
}